﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;

namespace Model
{
    [Table("ProjectNode")]
    public class ProjectNode
    {
        [Key()]
        public Guid ID { get; set; }
        public Guid? ProjectID { get; set; }
        public Guid? AreaID { get; set; }
        public int Order { get; set; }
        public int ExpectDays { get; set; }
        public DateTime? BeginDate { get; set; }
        public DateTime? EndDate { get; set; }
        public NodeStatusEnum Status { get; set; }
        public int StandardDays { get; set; }
        [MaxLength(500)]
        public string Content { get; set; }
        [MaxLength(1024)]
        public string Remark { get; set; }
        [MaxLength(1024)]
        public string Description { get; set; }
    }
}
